#ifndef MAINWINDOWPRESENER_H_
#define MAINWINDOWPRESENER_H_

#include "presenters/AbstractPresenter.h"

class IMainWindowView;

class MainWindowPresenter : public AbstractPresenter<IMainWindowView>
{
public:
	explicit MainWindowPresenter(IMainWindowView *view);
	virtual ~MainWindowPresenter();

	void onAddRepository();

	void onTrayIconClicked();
	bool onClose();
	void onExit();

private:
	bool closeWindow;
};

#endif /* MAINWINDOWPRESENER_H_ */
